<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .nav {
            width: 100%;
            height: 41px;
            border-top: 3px solid #ff8500;
            border-bottom: 1px solid #ededee;
        }
        
        .nav a {
            display: inline-block;
            height: 41px;
            line-height: 41px;
            color: #4c4c4c;
            text-decoration: none;
            padding: 0 15px;
        }
        
        .nav a:hover {
            color: palegoldenrod;
        }
    </style>
</head>

<body>
    <div class="nav">
        <a href="">新浪首页</a>
        <a href="">新浪首页</a>
        <a href="">新浪首页</a>
        <a href="">新浪首页</a>
    </div>
</body>

</html>